package io.file;

import java.io.File;

public class Test5 {
    public static void main(String[] args) {
        File file = new File("E:\\Project-IDEA\\Study_java\\AdvancedCode");
        show(file);
    }

    private static void show(File file) {
        File[] files = file.listFiles();
        for (File path : files) {
            if (path.isDirectory()) {
                show(path);
            } else {
                System.out.println(path);
            }

        }
    }
}
